package com.jincp.common.http;

import android.content.Context;

/**
 * =========================================================
 * @ProjectName: 网络请求接口
 * @ClassName: IHttpProcessor
 * @Description: 
 * @Author: jincp
 * @CreateDate: 2019/9/3 09:34
 * =========================================================
 */
public interface IHttpProcessor {

    void init(Context context);
    //网络访问：Post,get,del,update,put
    void post(Object tag, String url, boolean isProgress, HttpRequestParams params, IHttpCallback callback);

    void get(Object tag, String url, boolean isProgress, HttpRequestParams params, IHttpCallback callback);

    void cancelRequest(Object tag);
}
